export default class Snake {
    element: HTMLElement;
    head: HTMLElement;
    bodies: HTMLCollection;
    constructor() {
        this.element = document.getElementById('snake')!;
        this.head = document.querySelector('#snake > div') as HTMLElement;
        this.bodies = this.element.getElementsByTagName('div');
    }
    get X() {
        return this.head.offsetTop;
    }
    get Y() {
        return this.head.offsetLeft;
    }
    set X(value: number) {
        this.head.style.left = `${value}px`;
    }
    set Y(value: number) {
        this.head.style.top = `${value}px`;
    }
    addBody() {
        this.element.
    }
}